package Jedis.JedisExample.servince;

import Jedis.JedisExample.Dao.ProvinceDao;
import Jedis.JedisExample.domain.Province;

import java.util.List;

 public class ProvinceServince {
    //声明Dao
     private   ProvinceDao dao=new ProvinceDao();
    public List<Province> findAll(){
        return dao.findAll();
    }
}
